﻿@model String

<select name="sortOrder" class="form-control pull-left" style="width: auto; margin-right: 10px;"  onchange="this.form.submit();">
    <option value="DateCreated_desc" @("DateCreated_desc" == Model ? "selected" : "")>Mới nhất</option>
    <option value="Views_desc" @("Views_desc" == Model ? "selected" : "")>Xem nhiều nhất</option>
    <option value="Name_asc" @("Name_asc" == Model ? "selected" : "")>Tên (A > Z)</option>
    <option value="Name_desc" @("Name_desc" == Model ? "selected" : "")>Tên (Z > A)</option>
    <option value="ListPrice_asc" @("ListPrice_asc" == Model ? "selected" : "")>Giá (Thấp > Cao)</option>
    <option value="ListPrice_desc" @("ListPrice_desc" == Model ? "selected" : "")>Giá (Cao > Thấp)</option>
</select>
